package com.funtl.oauth2.service.impl;

import com.funtl.oauth2.entity.TbContent;
import com.funtl.oauth2.mapper.TbContentMapper;
import com.funtl.oauth2.service.TbContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: wumz
 * @Date: 2020/8/8 23:02
 * @Version 1.0
 */
@Service
public class TbContentServiceImpl implements TbContentService {

    @Autowired
    private TbContentMapper tbContentMapper;

    @Override
    public List<TbContent> getTbContentList() {
        List<TbContent> list =  tbContentMapper.getTbContentList();
        return list;
    }
}
